﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using Portal.Model;
using AutoMapper;
using Portal.Logic.Models;
using Portal.Repository;
using Portal.Presentation.Validators;
using FluentValidation.Attributes;

namespace Portal.Presentation.Models
{
	[Validator(typeof(UserInfoDataModelValidator))]
	public class UserInfoDataModel 
	{
		#region Properties
		[Display(Name = "First Name")]
		public string FirstName { get; set; }

		[Display(Name = "Last Name")]
		public string LastName { get; set; }

		[Display(Name = "E-mail (default)")]
		public string PrimaryEmail { get; set; }

		[Display(Name = "Phone (default)")]
		public string PrimaryPhone { get; set; }

		[Display(Name = "E-mail (optional)")]
		public string SecondaryEmail { get; set; }

		[Display(Name = "Phone (optional)")]
		public string SecondaryPhone { get; set; }

		public string FullName { get; set; }

		#endregion
	}
}